package com.ruoyi.bl.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品库存对象 bl_goods_store
 *
 * @author ruoyi
 * @date 2024-11-22
 */
public class BlGoodsStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long storeId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    private Long supplierId;

    /** 库存ID */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "库存ID", width = 30, dateFormat = "yyyy-MM-dd")
    private Date storeDate;

    /** 商品ID */
    private Long goodsId;

    /** 商品库存编码 */
    @Excel(name = "商品库存编码")
    private String storeSn;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Integer storeCount;

    /** 销售单位0份1重量 */
    @Excel(name = "销售单位0份1重量")
    private Integer salesUnit;

    /** 商品重量 */
    @Excel(name = "商品重量")
    private BigDecimal goodsWeight;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal goodsPrice;

    /** 订单ID */
    @Excel(name = "订单明细ID")
    private Long orderGoodsId;

    /** 库存状态 */
    @Excel(name = "库存状态")
    private Integer status;

    private String goodsName;

    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public void setStoreDate(Date storeDate)
    {
        this.storeDate = storeDate;
    }

    public Date getStoreDate()
    {
        return storeDate;
    }
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setStoreSn(String storeSn)
    {
        this.storeSn = storeSn;
    }

    public String getStoreSn()
    {
        return storeSn;
    }
    public void setStoreCount(Integer storeCount)
    {
        this.storeCount = storeCount;
    }

    public Integer getStoreCount()
    {
        return storeCount;
    }
    public void setGoodsWeight(BigDecimal goodsWeight)
    {
        this.goodsWeight = goodsWeight;
    }

    public Integer getSalesUnit() {
        return salesUnit;
    }

    public void setSalesUnit(Integer salesUnit) {
        this.salesUnit = salesUnit;
    }

    public BigDecimal getGoodsWeight()
    {
        return goodsWeight;
    }
    public void setGoodsPrice(BigDecimal goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice()
    {
        return goodsPrice;
    }

    public Long getOrderGoodsId() {
        return orderGoodsId;
    }

    public void setOrderGoodsId(Long orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("storeId", getStoreId())
                .append("deptId", getDeptId())
                .append("storeDate", getStoreDate())
                .append("goodsId", getGoodsId())
                .append("storeSn", getStoreSn())
                .append("storeCount", getStoreCount())
                .append("goodsWeight", getGoodsWeight())
                .append("goodsPrice", getGoodsPrice())
                .append("orderId", getOrderGoodsId())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
